package com.apes.autoparts.autoCode.repository;

import com.apes.autoparts.autoCode.model.EpcBbmcDzb;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;

/**
 * @Title: EpcBbmcDzbRepository
 * @Author fj
 * @Package com.apes.autoparts.autoCode.repository
 * @Date 2023/6/20 9:27
 * @description: 精时EPC版本与集群EPC版本对照
 */
public interface EpcBbmcDzbRepository extends CustomRepository<EpcBbmcDzb, String> {

    @Query(value = "SELECT * FROM EPC_BBMC_DZB WHERE EPC_BBMC = :key",nativeQuery = true)
    List<Map> queryByEpcBbmcCount(String key);

}
